package com.itheima.mapper;


import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    @Insert("insert into manager values (null,#{account},#{password})")
    void addManager(User user);

    @Insert("insert into user values (null,#{name},#{account},#{password},#{phone},#{address})")
    void addNormalUser(User user);






    User selectManager(User user);


    User selectNormalUser(User user);





}
